#pragma once
#ifndef __CROSSFIRE_CFGREADER
#define __CROSSFIRE_CFGREADER

#define strcmp_ignorecase(str1, str2)\
(CompareString(LOCALE_SYSTEM_DEFAULT, NORM_IGNORECASE, str1, (int)wcslen(str1), str2, (int)wcslen(str2)) == CSTR_EQUAL)
class CCF_CFGReader {

private:

	static FILE		*file;

public:

	static bool		Open				(char *szFileName);
	static void		Close				();
	static bool		ReadNextEntry		(char **ppNameOut, char **ppValueOut);

};

#endif